/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package employeedb;

/**
 *
 * @author Админ
 */
public class Project {

    private String project;
    private boolean isFixedCost;

    public Project(String project, boolean isFixedCost) {
        this.project = project;
        this.isFixedCost = isFixedCost;
    }

    public String getProjectName() {
        return isFixedCost ? this.project + "(fixed cost)" : this.project;
    }

    public boolean getisFixedCost() {
        return isFixedCost;
    }
}
